from selenium.webdriver.common.by import By


class LoginLocator:
    login_iframe = 'login_frame'
    LoginFlag = (By.CSS_SELECTOR, '.dui-loading-container.dui-loading-container-wrap')
    account_password = (By.ID, "switcher_plogin")  # 账号密码登录按钮
    account_input = (By.ID, "u")  # 账号输入框
    password_input = (By.ID, "p")  # 密码输入框
    login_button = (By.ID, "login_button")  # 登录按钮
    recent_browse = (By.XPATH, "//div[@class='tab-item tab-item-active']//span[@class='tab-item-text']")  # 最近浏览
    account_password_login = (By.ID, "title_2")  # 账号密码登录
    test_wenan = (By.XPATH, "//h3[text()='欢迎使用腾讯文档']")  # 欢迎使用腾讯文档


